package com.nwcl.basic.bo;

import java.util.Date;

/**
 * 优惠券领取记录表
 *
 * @TableName coupons_receive
 */
public class CouponsReceiveBO {
    private Integer id;
    private Integer couponsId;//优惠券id
    private Integer userId;//领用用户id
    private Integer status;//1.待使用,2已使用,3已过期
    private Date startTime;//有效开始时间
    private Date endTime;//有效结束时间
    private Date createTime;//创建时间
    private Date updateTime;//更新时间
    private Integer isValid;//数据是否有效，默认正常:1 删除：0

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCouponsId() {
        return couponsId;
    }

    public void setCouponsId(Integer couponsId) {
        this.couponsId = couponsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }
}